home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
misc
/
tri14dev.lha
/
Triton
/
Developer
/
DICE
/
regs.a
< prev
next >
Wrap
Text File
|
1995-08-25
|
528b
|
23 lines
; Dummy Functions to use the SAS/C getreg and putreg functions with DICE
; Attention, they're only reading/writing the a4 register, even if you
; specify a different one.
;
; Written for the Triton Linklibs on 25-May-95 by Michael Bauer
; (michael.bauer@zdv.uni-tuebingen.de)
;
section text,code
xdef ___builtin_getreg
xdef ___builtin_putreg
___builtin_getreg
move.l $0004(A7),D0
move.l A4,D0
rts
___builtin_putreg
move.l $0004(a7),D0
move.l $0008(a7),D1
move.l D1,A4
rts